<#include "/common/template.ftl">
<@template csses=["teacherLogin"] jses=["teacherLogin"]>
	<div class="teacher_login">
		<div class="t_l_inner">
			<div class="t_l_title">
				<p>老师登陆</p>
			</div>
			<div class="t_l_form_area">
		    	<form class="form-horizontal form" action="${basePath}/vanOverview/login?studentOrTeacher=teacher" method="post">
		    		<#if loginError?exists && loginError == true>
		    			<label class="warningStr">你输入的用户名或密码有误，请重新登录！</label>
					</#if>
				 	<div class="control-group">
					    <label class="control-label t_l_label">用户名：</label>
					    <div class="controls">
					    	<input class="t_l_input" type="text" name="username">
					    	<h class="username_tip">输入用户名或邮箱</h>
					    </div>
				  	</div>
				 	<div class="control-group">
					    <label class="control-label t_l_label">密码：</label>
					    <div class="controls">
					    	<input  class="t_l_input" type="password" name="password">
					    </div>
				  	</div>
				  	<div class="control-group login_controls">
					    <div class="controls">
						    <label class="checkbox">
					        	<input type="checkbox">下次自动登陆<a class="forget_pass" href="#">忘记密码？</a>
					     	</label>
					    	<button type="submit" class="btn btn-primary">立即登陆</button>
					    </div>
				  	</div>
				  	<hr class="t_l_hr"/>
				</form>
				
				<div class="no_register">
					<span>还没有视频答疑网账号？ 
						<a href="${basePath}/teacherRegisterStepOne">马上注册》</a>
					</span>
				</div>
		    </div>
		    
		    <div class="t_l_right_area">
				<div>
					<a href="#"><img src="${basePath}/static/images/pl_pic01.png"></a> 
				</div>
		    </div>
		</div>
	</div>
</@template>